<?php
echo $rss->header();
if (!isset($channel)) :
	$channel = array();
endif;
if (!isset($channel['title'])) :
	$channel['title'] = $title_for_layout;
endif;
echo $rss->document(
	$rss->channel(
		array(), $channel, $content_for_layout
	)
);
?>